package com.hongxun.project.assets.kPdKg.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hongxun.framework.web.domain.BaseEntity;

/**
 * 配电-开关表 k_pd_kg
 * 
 * @author hongxun
 * @date 2019-06-25
 */
public class KPdKg extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private String id;
	/**  */
	private String byqId;
	/**  */
	private String pId;
	/** 设备ID */
	private String deviceId;
	/** 型号 */
	private String model;
	/** 编号 */
	private String code;
	/** 数据状态 */
	private String datastate;
	/** 任务状态 */
	private String taskStatus;


	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setByqId(String byqId) 
	{
		this.byqId = byqId;
	}

	public String getByqId() 
	{
		return byqId;
	}
	public void setPId(String pId) 
	{
		this.pId = pId;
	}

	public String getPId() 
	{
		return pId;
	}
	public void setDeviceId(String deviceId) 
	{
		this.deviceId = deviceId;
	}

	public String getDeviceId() 
	{
		return deviceId;
	}
	public void setModel(String model) 
	{
		this.model = model;
	}

	public String getModel() 
	{
		return model;
	}
	public void setCode(String code) 
	{
		this.code = code;
	}

	public String getCode() 
	{
		return code;
	}
	public void setDatastate(String datastate) 
	{
		this.datastate = datastate;
	}

	public String getDatastate() 
	{
		return datastate;
	}

	public String getTaskStatus() {
		return taskStatus;
	}

	public void setTaskStatus(String taskStatus) {
		this.taskStatus = taskStatus;
	}

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("byqId", getByqId())
            .append("pId", getPId())
            .append("deviceId", getDeviceId())
            .append("model", getModel())
            .append("code", getCode())
            .append("datastate", getDatastate())
            .toString();
    }
}
